<div class="block-center mt-xl wd-xxl">
    <!-- START panel-->
    <div class="panel panel-dark panel-flat">
        <div class="panel-heading text-center">
            <!--<a href="#">
                <img src="app/img/logo.png" alt="Image" class="block-center img-rounded"/>
            </a>-->
        </div>
        <div class="panel-body">
            <p class="text-center pv">用户登录</p>

            <form role="form" name="loginForm" novalidate="" class="form-validate mb-lg">
                <div class="form-group has-feedback">
                    <input id="exampleInputEmail1" type="email" name="email" placeholder="Enter email"
                           autocomplete="off" ng-model="account.email" required="" class="form-control"/>
                    <span class="fa fa-envelope form-control-feedback text-muted"></span>
                    <span ng-show="loginForm.email.$dirty &amp;&amp; loginForm.email.$error.required"
                          class="text-danger">This field is required</span>
                    <span ng-show="loginForm.email.$dirty &amp;&amp; loginForm.email.$error.email"
                          class="text-danger">This field must be a valid email address</span>
                </div>
                <div class="form-group has-feedback">
                    <input id="exampleInputPassword1" type="password" name="password" placeholder="Password"
                           ng-model="account.password" required="" class="form-control"/>
                    <span class="fa fa-lock form-control-feedback text-muted"></span>
                    <span ng-show="loginForm.password.$dirty &amp;&amp; loginForm.password.$error.required"
                          class="text-danger">This field is required</span>
                </div>
                <div class="clearfix">
                    <div class="checkbox c-checkbox pull-left mt0">
                        <label>
                            <input type="checkbox" value="" name="account_remember" ng-model="account.remember"/>
                            <span class="fa fa-check"></span>记住我</label>
                    </div>
                    <div class="pull-right"><a ui-sref="page.recover" class="text-muted">忘记密码?</a>
                    </div>
                </div>
                <button type="button" ng-click="login()" class="btn btn-block btn-primary mt-lg">登录</button>
            </form>
            <div ng-show="authMsg" class="text-danger text-center">{{authMsg}}</div>
            <p class="pt-lg text-center">没有账号? &nbsp;&nbsp;<a ui-sref="page.register">点击注册</a></p>
        </div>
    </div>
    <!-- END panel-->
    <div class="p-lg text-center">
        <span>&copy;</span>
        <span ng-bind="app.year"></span>
        <span>-</span>
        <span ng-bind="app.name"></span>
        <br/>
        <span ng-bind="app.description"></span>
    </div>
</div>